package com.zzx.test.singleton;

/**
 * @Author ZhouZhiXin
 * @ClassName LazyManWithoutDCL
 * @Description Description Write Here.
 * @Date 2020/11/7
 * @Time 23:02
 */
public class LazyManWithoutDCL {

    private static LazyManWithoutDCL instance = null;

    private LazyManWithoutDCL(){};

    public static LazyManWithoutDCL getInstance(){
        if(instance == null){
            instance = new LazyManWithoutDCL();
        }
        return instance;
    }
}
